package com.wms.service.impl;

import com.wms.bean.ResultBean;
import com.wms.core.R;
import com.wms.dto.AreaDTO;
import com.wms.mapper.LynAreaMapper;
import com.wms.service.LynAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class LynAreaServiceImpl implements LynAreaService {
    @Autowired
    LynAreaMapper lynAreaMapper;
    @Override
    public ResultBean queryArea() {
        List<AreaDTO> list=lynAreaMapper.queryArea();
        return R.success("查询结果",list);
    }
}
